package com.heima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author: itheima
 * @create: 2022-01-12 11:46
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients //扫描（本项目，引入jar） com.heima 包下所有的Feign远程调用API接口
@EnableAsync
public class MediaApp {

    public static void main(String[] args) {
        SpringApplication.run(MediaApp.class, args);
    }
}
